<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>vue初体验</title>
</head>

<body>
  <!-- 创建一个容器 -->
  <div id="app">
    <h1>{{ msg }}</h1>
  </div>

  <div>{{ msg }}</div>

  <script src="./js/vue.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {
        msg: 'hello world!!'
      }
    })
  </script>
</body>

</html>